package com.echat.messagesender.sender.email;

import lombok.Data;

/**
 * Created by huangzhilin on 2018/5/10.
 */
@Data
public abstract class EmailSender {

    protected Long platformId;

    protected Long platformAccountId;

    protected String platformName;

    /**
     * 发送邮件
     *
     * @param receives
     * @param subject
     * @param htmlBody
     * @return
     */
    abstract public boolean sendEmail(String[] receives, String subject, String htmlBody, String[] ccReceives, String[] bccReceiver, String replayEmail);


}
